package com.imti.mall.order.service.Impl;

import com.imti.mall.model.order.pojo.OmsOrderSetting;
import com.imti.mall.order.mapper.OrderSettingMapping;
import com.imti.mall.order.service.OrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderSettingServiceImpl implements OrderSettingService {

    @Autowired
    OrderSettingMapping orderSettingMapping;

    @Override
    public OmsOrderSetting getSetting() {
        return orderSettingMapping.getSetting();
    }

    @Override
    public int addOrderSetting(OmsOrderSetting omsOrderSetting) {
        return orderSettingMapping.addOrderSetting(omsOrderSetting);
    }

    @Override
    public int[] findFlashNotPayId() {
        return orderSettingMapping.findFlashNotPayId();
    }

    @Override
    public int closeFlashOrder(int id) {
        return orderSettingMapping.closeFlashOrder(id);
    }

    @Override
    public int setFlashNotPayHistory(int id) {
        return orderSettingMapping.setFlashNotPayHistory(id);
    }

    @Override
    public int[] findNomalNotPayId() {
        return orderSettingMapping.findNomalNotPayId();
    }

    @Override
    public int closeNormalOrder(int id) {
        return orderSettingMapping.closeNormalOrder(id);
    }

    @Override
    public int setNormalNotPayHistory(int id) {
        return orderSettingMapping.setNormalNotPayHistory(id);
    }

    @Override
    public int[] findNotGet() {
        return orderSettingMapping.findNotGet();
    }

    @Override
    public int finishOrder(int id) {
        return orderSettingMapping.finishOrder(id);
    }

    @Override
    public int setHistoryNotGet(int id) {
        return orderSettingMapping.setHistoryNotGet(id);
    }


}
